package com.hifar.demo3.pojo;

public class SupportEquipment {
    private String code; // 设备代码
    private String type; // 设备类型
    private String name; // 设备名称
    private String quantity; // 数量
    private String status; // 状态
    private String flag; // 标志

    // 构造函数
    public SupportEquipment() {
    }

    public SupportEquipment(String code, String type, String name, String quantity,
            String status, String flag) {
        this.code = code;
        this.type = type;
        this.name = name;
        this.quantity = quantity;
        this.status = status;
        this.flag = flag;
    }

    // getters 和 setters
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "SupportEquipment{" +
                "code='" + code + '\'' +
                ", type='" + type + '\'' +
                ", name='" + name + '\'' +
                ", quantity='" + quantity + '\'' +
                ", status='" + status + '\'' +
                ", flag='" + flag + '\'' +
                '}';
    }
}